<?php


Route::group(['namespace' => 'Api'], function (){
    Route::group(['middleware' => 'ApiAuth'], function (){
        Route::post('user/add', 'PayController@addUser');
        Route::post('user/logout', 'PayController@logout');
        Route::post('update/user/rate', 'PayController@updateRate');
        Route::post('update/user/password', 'PayController@updatePassword');
    });
    Route::post('user/login', 'PayController@login');
});